
Page({

    /**
     * 页面的初始数据
     */
    data: {
        findList:[]
    },
    find(e){
        this.getsearch(e.detail.value)
    },
    async getsearch(val){
        let ret=await request('goods/qsearch',{query:val})
        console.log(ret);
        this.setData({
            findList:ret.data.message
        })
    },
})
